﻿<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="utf-8" %>

<table class="table-orderList">
    <thead>
    <td>用户编号</td>
    <td>昵称</td>
    <td>好评数</td>
    <td>关注数</td>
    <td>业务人才审核状态</td>
    <td>代码人才审核状态</td>
    <td>代码分析数</td>
    <td>业务分析数</td>
    <td>操作</td>
    </thead>
    <c:forEach var="item" items="${data}" varStatus="list">
        <tr>
            <td>${item.user_id }</td>
            <td>${item.nick_name }</td>
            <td>${item.good_count }</td>
            <td>${item.follow_count }</td>
            <td>
                <c:choose>
                    <c:when test="${item.is_business_status==1}">
                        审核通过
                    </c:when>
                    <c:when test="${item.is_business_status==2}">
                        待审核
                    </c:when>
                    <c:when test="${item.is_business_status==3}">
                        审核拒绝
                    </c:when>
                </c:choose>
            </td>
            <td>
                <c:choose>
                    <c:when test="${item.is_code_status==1}">
                        审核通过
                    </c:when>
                    <c:when test="${item.is_code_status==2}">
                        待审核
                    </c:when>
                    <c:when test="${item.is_code_status==3}">
                        审核拒绝
                    </c:when>
                </c:choose>
            </td>
            <td>${item.code_counter }</td>
            <td>${item.business_counter }</td>
            <td>
                <a class="text-primary mr-10" data-tab-title="审核" target="_blank"
                   href="${basePath}/t_user_elites/add?user_id=${item.user_id}">审核</a>
            </td>
        </tr>
    </c:forEach>

</table>

<c:choose>
    <c:when test="${!empty data}">
        ${page}
    </c:when>
    <c:otherwise>
        <div class="relative" style="height: 200px">
            <span>没有符合条件的数据，请尝试其他搜索条件</span>
        </div>
    </c:otherwise>
</c:choose>

